fix the bug that result storing may fail on single day processing.