fix diodes;  pattern changes