change page style
add freemarker exception handler