match the head trs automatically