fix padding with smaller headers