fix the bug of schedule
Merge pull request #45 from caok/master

fix the bug of schedule