correction for cron job