Fix particle server crash.