fix a bugy cp operation in install script