remove unused lines that would have caused a problem with jsonobject