fix validation on timer event, it can be a String for Cron