fixed activities index page to show submitted activities correctly