(fix) for restricted membership type check