Bugfix for static pages