fixing that event thing

fixing event thing