cleaned some code, attempting to edit inventory options