Fixes huffman compression codes errors