fix cron controller