fixing encrypted global config