fix data-pos-* handling bug
add sample