fix #tag_format bug 'index minimun 0'
make segments configurable for each Data object