fix tag lose when merging