fix date reg