fixing some errors with choosing the best particle