templating logic not working...