Removing \n from the messages related to year