miniature counting fix