Fixed bug in huffman tables