bugfixes in new installer routine