Fixes createItem() method which handed over the wrong parameter