Bug fix in the internal api, errors in the cron job