fixed membership provider bugs