Fixed chat error in Eventhandler