lines to spaces on ppm-rr and sppmpa-rr