IOB: Minor improvement to trimhead