fix multi-quantization tables and huffman tables bug