improved exception handling in Pad helper