fixed bug in install script