calling removeAttribute immediately on attr(key, null)