fix bug of 1.2

fix bug of 1.2