fix batch action count in flash