fix to inventory itemdetails