fix bad nbtrue usage in gamma/fast_gamma