fix TestBug1682