simplify device info setting