fixed previous day start record error