fix order when cron line is created