fix a bug of three.