trying to fix issue KrakenClient is not defined