fixed event test error