remove debug logging
remove api_count() calls to ease debugging