Fix result handler when remove listener.