fix global `mi` leak
Merge pull request #81 from ryan-nauman/master

simple unbind global leak fix