fix some bug about connection