Fixing modified dates saviing