Registry keys fix