fix tag script