fix cron issue