Fixed foobar in templates