fixed a problem with custom taxonomies not replacing template vars