delete prop in restore when it's not own property of object