fix date fields on 3.5