Troubleshoot remove-member code