fix: -Wunused-variable warnings