Release build fixing bug with static pages;