fix bug on searching friend