fixed issue when json editor is not available