fix array of used Diodes