fix pams