server connection bug