bug fix for recent activity