Energy reconstruction in quasielastic scattering in the MiniBooNE and T2K experiments