fixed region code again