handle remove value event