correct wrong output.