fixing settings reference

settings is a private variable not member of the this scope
Merge pull request #1 from jsbuzz/patch-1

fixing settings reference