fix bug of inverntory report