fixes winding order