repair the static page controller