fixed a decoding bug that prevented elitism