minor fix.
add some templates.