remove \n from printing