add print info for globalcounter debug