fix and tests for daily stats