fixed bug: delete completed tags with backspace doesn't work