cleaned up RelaxedHeadMatch