Fixed the output messages.