error handling for missing and deleted objects