fix warning because of initialization order