diff --git a/README.md b/README.md
index 7532973c..f7213df3 100644
--- a/README.md
+++ b/README.md
@@ -29,8 +29,9 @@ A 3d-printable housing can be found here: https://www.thingiverse.com/thing:4571
-##### 1.1.2 (2020-09-07)
+##### 1.1.3 (2020-09-09)
+* **Bug in configuration of analog ROIs corrected** - correction in v.1.0.2 did not work properly
* Improved update page for the web server (`/html` can be updated via a zip-file, which is provided in `/firmware/html.zip`)
* Improved Chrome support
diff --git a/firmware/firmware.bin b/firmware/firmware.bin
index 319d1962..f8fe1857 100644
Binary files a/firmware/firmware.bin and b/firmware/firmware.bin differ
diff --git a/firmware/html.zip b/firmware/html.zip
index 247c091b..d84a056e 100644
Binary files a/firmware/html.zip and b/firmware/html.zip differ
diff --git a/sd-card/html/ota_page_v2.html b/sd-card/html/ota_page_v2.html
new file mode 100644
index 00000000..ce83a030
--- /dev/null
+++ b/sd-card/html/ota_page_v2.html
@@ -0,0 +1,337 @@
+
+ jomjol - AI on the edge
+
+
+
+
+
+
+
+
+
+
It is strongly recommended to update firmware and content of /html directory on SD-card at the same time!
+
1. Firmware Update
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (Takes about 60s)
+
+
+
+
+
2. Update /html directory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
3. Reboot
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sd-card/html/readconfig.js b/sd-card/html/readconfig.js
index 12f32fe1..c43e948d 100644
--- a/sd-card/html/readconfig.js
+++ b/sd-card/html/readconfig.js
@@ -137,8 +137,8 @@ function SaveROIToConfig(_ROIInfo, _typeROI, _basepath){
var linewrite = 0;
for (i = 0; i < _ROIInfo.length; ++i){
- if (i < digit.length){
- linewrite = digit[i]["pos_ref"];
+ if (i < targetROI.length){
+ linewrite = targetROI[i]["pos_ref"];
}
else {
linewrite++;