Capital gains higher that holdings ever valued at?

I make some large crypto to crypto trades between BTC and Doge not realizing the tax implications. Koinly calculated the Capital gains at $41000 when my holdings have never been valued above $30000. Is Koinly applying the original cost basis to every trade and can this be fixed?