fixing PSO