fixed issue with regions