event object doesnt crash the app, but doesnt work