Study of some processes in the ion sources at the UMCS mass separator