removes static pages controlle