modify bugs (extra TAGs are dupulicated)