fix static pages controller