Fixed 2 templates

"import six" adds it to locals... We must copy locals before import six.