fix date order