Some problems connected with mass loss in late-type stars