fixing broken closing tags in the group collection template