fixed bug in sbox guessing