better fix for web services for inventory entity