fix the double display of profiles when searching