fixed inventory view issues