bug fix for devices that have a NULL name