*fix bug with search