Fix contours to be  polygon and the styles