improved bind/unbind post processing.