small fix for remote connections