fix object deleting point