unbind and rebind