[refactor] dead code