Fixed call to non-existant object