fix the bug on COUNTERRANGE