template: remove useless filter and fix a typo