bugfix with ssh