fix -Wunused-variable