fix filetransfer for root