a fix for cron