clear dead codes