removes the double date issue