[REFACTOR] fix tag bug