fixing the templatetags support and initialization