Fix list templating