add joint to parterns, fixing #270