use template engine
spelling fix