fix bug with device info