Fix parent activities.