trim custom header during import