fixed membership edit bug