fixing parseFtpUri