fixed a error in 1.6