define class var used in options function
Merge pull request #6 from zbtirrell/stop-the-notices

define class var used in options function