fix in template and extended loading of relations for contributions