print line cleanup