fixed bash 'failed to connect to server' msg