better output for trace