fixed some bugs in showing gen/transformer faults