Improvement of data treatment in small-angle neutron scattering