commit for merge
fix some Schedule.add bugs