some tweaks to the registry