He cut off the entire wire and attached the new one. As we were using multi socket connecter(which have melted and could not separate them anymore), he advised me not to use it anymore and connect directly to the socket. He finished within 20 minutes! and the oven's been working perfectly well. no more smokes and no more melting.
