bug fix of install script