Remove @ erroneously prefixing variables that exist only in template loops