fix activity not showing anything and show headings of activities.