Remove dangling reference.