fixed up templating for collection views
fixed up templating for collection views