added dispatcheEVnt flag to connect method