Fix oregeneration