fix bug search