refactor: remove dead code branch