fix an issue where user unable to install.

Signed-off-by: crynobone <crynobone@gmail.com>