Fixed notices in location.install.