correction to date format