Refactor: remove unused variable