Fix member id bug