lint: fix unusedVariable warnings