bug when removing items