fix cron job issue