Fix particle setting method