Fix non-initialized registry settings error

This fixes issue #84