fixed validator and event test error