added check for remote host when degugging