static pages editor bugfix