fix ftp problems