fix xerox api
fix scan read
add Data flag for scan index