clean up object lists, Q_FOREACH needs special form for modification