only needs to call transformHeader when y is changed