small changes for btc_ags