fix device settings