Fix error in install code