Fix non-initialized registry settings error