Fix fix3stage to use proper valid