how to check broken wire