device name was not set in NetworkHandler constructor