Fixed a bug in Install controller