basic fixes to ext/ftp