fix typo
fix wrong example about template resolution