refactor  --remove-dead