Fixing object reference