Bug fixing in resources search