fixing count tab mode 2 date bug when switching protocol