remove depends on Flex.