Dependence of the electron beam parameters on the stability of laser propagation in a laser wakefield accelerator