getOptions fix