fix cx, cy order