fix bug in assemble_schedule