fixing bencoding stuff