some ftp and toc related bugs