Fix initialization order issue.