Fix reversed headers