made compatibility changes for Kraken