fix single date mode