fix issue on json support