fix the activity