How to repair composites