Fixing sftp issues