fixing cron error codes