cleanup and support for ftp root