fix grbit on spent tx index