fixed crash if peripherals have no name