fix bug - reduce count