Html: Fix array index existance check error when set data