another bug fix for install script