fix stupid table bug