fixed logging & tpcc hacks