ensure connected event is applied