Trying to fix the empty trace.txt