Fix date config