The End Correction Of Resonance