inventory deterioration