delete the old object