ugly hack to support a range of pages