refact sql.data
refact RelatedBehavior
test link v1
test link v2
test link v3