minor fix in particle tracing