Fix automatic date change