Fix null in BEncode