Fixed cron issue