more cron bug fixes