Trim headers