add distinct to simple search