fixed initialization sequence