get options in varargin