fixed removal of reaction after device removal