added explanation
fix _type bug in saving memberships