Fixing the sync error of terror