fix the not connecting error