fix initialization order warning