better period, corrected the discontinuously jump