remove the warning on http and ftp