Fix padding of header objects