more registry handling