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

fix the bug of schedule