fix delete on exit
Merge pull request #19 from sphaero/master

fix delete on exit