autoview + template fixed