initialization order warning fixed