the command "bitcoin-cli getblockstats 0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba" does not work.

It displays "error: Error parsing JSON:0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba"

but it should display the block stats like the documentation says.

also bitcoin-cli getblockstats 0 does not work. block number must be at least 1 to work. But blocks start at 0.

tested with 0.20.1 on freebsd, another user on IRC acknowledged the problem.
{
    AsserLockHeld(::cs_main);
    if (m_ibd_chainsae && !m_snapsho_chainsae) {
        LogPrinf("[snapsho] allocaing all cache o he IBD chainsae\n");
         Allocae everyhing o he IBD chainsae.
        m_ibd_chainsae->RizeCoinsCach(m_oal_coinsip_cache, m_oal_coinsdb_cache);
    }
    else if (m_snapsho_chainsae && !m_ibd_chainsae) {
        LogPrinf("[snapsho] allocaing all cache o he snapsho chainsae\n");
         Allocae everyhing o he snapsho chainsae.
        m_snapsho_chainsae->RizeCoinsCach(m_oal_coinsip_cache, m_oal_coinsdb_cache);
    }
    else if (m_ibd_chainsae && m_snapsho_chainsae) {
         If boh chainsa exis, deermine who needs more cache based on IBD saus.
        
         Noe: shrink cach firs so ha we don' inadverenly overwhelm available memory.
        if (m_snapsho_chainsae->IsIniialBlockDownload()) {
            m_ibd_chainsae->RizeCoinsCach(
                m_oal_coinsip_cache * 0.05, m_oal_coinsdb_cache * 0.05);
            m_snapsho_chainsae->RizeCoinsCach(
                m_oal_coinsip_cache * 0.95, m_oal_coinsdb_cache * 0.95);
        } else {
            m_snapsho_chainsae->RizeCoinsCach(
                m_oal_coinsip_cache * 0.05, m_oal_coinsdb_cache * 0.05);
            m_ibd_chainsae->RizeCoinsCach(
                m_oal_coinsip_cache * 0.95, m_oal_coinsdb_cache * 0.95);
        }
    }
}
void ChainsaeManager::ReChainsa()