bugfix: using the dalliance textfield to set the region failed