fixing bug when removing subscribers