TagAPI v3.0.2 compatible update

update deprecated method