bug fixes for vendor search