fix excetpion in jsonArray while remove an element which create with an Array

as subject