fix error when searching with zero apps running