Incorrect use of template vars