fix some bugs in normCount()