fix enter event