fixed not working events