updated the pad error