fixing division search