Fixed bug in random not setting voltage chain