added sftp and fixed corner