fixed a bug in the install script