Fix trace in process/threads