add duplicate check
Merge branch 'ph6_dev' into ph6_review