contour works fine after rotation.