added Validator, optimized createEvent fix