replace ; to \n