fix for no connection to server