change date mode; display fix bug