remove unnecessary boost components.