fixed static pages error