fix page build, template