bug fix, return proto tag instead index

return proto tag