fixing customized searching