progress improvement and persistjson fix