dynamic particles: fixed incorrect copying of union