bugfix in pam