fix the activities