Fixes the creation of object1