adjust for static pages