fix a bug in install