fix bug in pad example