fixed doDecode loop