fix to append contour to use from fields if it exist