add condition to _getOptions