even so, we always did the code checking once (since we're a single-page app, the region setting needs to happen once)