fixed the inventory rendering issue.