bugzid 5165: set regionId properly