Bug fix in registering a new member.