fix rake task in cron