need to fix issue with inventory query finding inventory but not returning data properly