Fixed the activity error.