finish adding fold_mac
add fold_mac claues to fun_to_ctxt_folder