fix find templates for flatpages