fix bug with inventory reload