fixing counts