Prevent bug on insert cron