fixing inventory