fix count capacity