fix bugs about crontab