Fixed method getOptions()