Changed parameter data type.
Changed getting tag info. Bug Fixed.