fixed minor provider bug with cron jobs