edit header and padding