fix dateconverter