Solved a problem in the output