some stuff with changing the region editor