fixed modify inventory