workaround to fix duplicate activity. limit activity.