change the shanghai case 3 into the last row