updated the tag fix script