bug fixed for searching friends