diff --git a/src/USER-CUDA/fft3d_wrap_cuda.cpp b/src/USER-CUDA/fft3d_wrap_cuda.cpp
index 059924066258e8ad8196e9854e2d20ba83f1f31a..80fc7b82287e0bb7ac28e9db428bad67749324f4 100644
--- a/src/USER-CUDA/fft3d_wrap_cuda.cpp
+++ b/src/USER-CUDA/fft3d_wrap_cuda.cpp
@@ -59,7 +59,7 @@ FFT3dCuda::FFT3dCuda(LAMMPS *lmp, MPI_Comm comm, int nfast, int nmid, int nslow,
   plan = fft_3d_create_plan(comm,nfast,nmid,nslow,
                             in_ilo,in_ihi,in_jlo,in_jhi,in_klo,in_khi,
                             out_ilo,out_ihi,out_jlo,out_jhi,out_klo,out_khi,
-                            scaled,permute,nbuf);
+                            scaled,permute,nbuf,0);
 #endif
   if (plan == NULL) error->one(FLERR,"Could not create 3d FFT plan");
 }
diff --git a/src/fix_addforce.cpp b/src/fix_addforce.cpp
index baa09bb79413f35021d65664afb68729dfdc7787..4e57a604af6df421948f373f3e23d1098275a3d3 100644
--- a/src/fix_addforce.cpp
+++ b/src/fix_addforce.cpp
@@ -237,7 +237,7 @@ void FixAddForce::post_force(int vflag)
 
   if (update->ntimestep % nevery) return;
 
-  if (lmp->kokkos->kokkos_exists)
+  if (lmp->kokkos)
     atom->sync_modify(Host, (unsigned int) (F_MASK | MASK_MASK),
                       (unsigned int) F_MASK);