fixing computeSchedule POST