Bencode fixes