cleanup... remove space at end of line.