fixed stupid mistake regarding configuration of MHT in TreeWriter