fix: foreach not expanding the members list