Fixing delimiter removal from template var