prevented the event for firing after connect