Fix date used