fix missing brace
implements search matching options