fixed unbind problem