restore compatibility with inventory tweaks