search invoice fix