fixed old naming in electrical.c