search inventory fix