Fix big bug in generation url new on cron.