Fix build warning from wrong init order