fix bug on android
Merge pull request #2 from johannv/master

fix bug on android