Self-healing method readies nanotubes for flexi electronics