oh god super hacky way to avoid some errors for word_contours