some minor fixes
ok? for ftp fixed