Fixed a bug in install