inventory fix