full-featured unbind method