fixing bencode