fixed ugly prompt when no connection to server is requested