fixed inveotry stuff
cleanup