bug fixes for membership and webhooks