fixed error on activity page.