fix inventory urls