Fixed the parent activities.