fix check on search options #107