fix in particle tracing