fix -WError=unused issue