fix the json bug by try: