Fixed distance showing wrong for inventories