fix ftp stuff