fix shouldCron bug