attempt to fix coredata crash after delete
log