fixed connecting to friend/server