hex_proto, hex   :   fix for batch_fold functions.