bug fixed about long duration