fix removing address bug.