minor changes in ztrace