member error fixed