fixed cron controller issue