repairing the case if only 1 day exit in DB