bugfixes inventory