fixing search regression from code merge