fix unbind event listener issue