another fix to prm