fix ppcontour and work flow