initialization order fix