fixed some bugs in the FTP service installation script