fix -Wreorder warning