finished fixing the previous order json