fixed a typo with the output messages