Fixed the output messages