Fixed bug on creating new static pages.