Delete object fix