Day counter fixed