fixed a bug of orient2d test