fixed schedule table bug