add validation for target segment
Merge branch 'haosun'