fix cron tasks