mute some errors on connect method