fix read tag output