fixing up kba_gz_core