bugfix for region