fix err date