fixed bug on iPad / JSON domoticz