fixed some issues with the ftp setup