Bug Fixes in PAM