protect against referencing a property of a non-existent object