corrects expected output