fix some exception
add error.ftl
fix comment