Fix task schedule