fix unbinding. Closes #2