Page bugfix: duplication could lead to multiple contexts being 'main'