fixed failing cron job