fixed bug where wrong pad is fetched