Bug fix masschgdates not saving