Bug with an object not existing