refactor: remove unnecessary variable