set last day fix