fix inventory drops, add more functions