fix results struct to match output