fix bug in install script