Bug fixes in "Pad" option.