Static pages controller fix