fixed formatting table bug