render regions correctly