bug fix for device name utf-8 encoding