fix in tag reading