check for options being defined