remove unused components.