fix rare fatal error
fix another rare fatal error
Merge pull request #25 from TheBoolean/master

fix rare fatal error