fixing cron issue