bugfixes in cartridges