some fixes with objectSearch