bug fix for install script