fix to use settings properly on all platforms
Merge pull request #16 from itumb/master

fix to use settings properly on all platforms