fixed server connection thing