diff --git a/p/PGI/PGI-20.1-GCC-8.3.0-2.32-CUDA.eb b/p/PGI/PGI-20.1-GCC-8.3.0-2.32-CUDA.eb
index a40c8c68307fee2c3217b22537fb0d17d41e4345..a661701caebbb2458517c2d3a64ebcbea47f40c9 100644
--- a/p/PGI/PGI-20.1-GCC-8.3.0-2.32-CUDA.eb
+++ b/p/PGI/PGI-20.1-GCC-8.3.0-2.32-CUDA.eb
@@ -29,7 +29,7 @@ install_mpi_gpu = 'true'
 # license file
 license_file = '/apps/licenses/pgi/license.dat'
 
-modextravars = {
+modextrapaths = {
      'PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/bin',
      'LD_LIBRARY_PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/lib',
      'LIBRARY_PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/lib',