fix write on tag