define class var used in options function

this eliminates a notice being thrown on every page load.