Fix for PAM