a couple fixes to renderRegion