more guards to prevent crashing in bad particle edit packets