fix wifi automatic connection issue