fix for #294
Merge pull request #295 from EmbeddedAndroid/master

fix for #294