fixed counter/reflect bug