fixed editing of static pages