make inventory relative