diff --git a/examples/narrow-band/tnlNarrowBand2D_CUDA_v4_impl.h b/examples/narrow-band/tnlNarrowBand2D_CUDA_v4_impl.h
index 2cf88de62674284c22dd9297a6c90f2c90a1eaba..8c0c5da2c5c8b10cb652ee5ed5564fe0f3025a55 100644
--- a/examples/narrow-band/tnlNarrowBand2D_CUDA_v4_impl.h
+++ b/examples/narrow-band/tnlNarrowBand2D_CUDA_v4_impl.h
@@ -274,7 +274,7 @@ void tnlNarrowBand< tnlGrid< 2,MeshReal, Device, MeshIndex >, Real, Index > :: u
 	//			1 - with curve,  	2 - to the north of curve, 	4  - to the south of curve,
 	//								8 - to the east of curve, 	16 - to the west of curve.
 	int subgridID = i/NARROWBAND_SUBGRID_SIZE + (j/NARROWBAND_SUBGRID_SIZE) * statusGridSize;
-	if(/*cudaStatusVector[subgridID] != 0 &&*/ i<Mesh.getDimensions().x() && j < Mesh.getDimensions().y())
+	if(cudaStatusVector[subgridID] != 0 && i<Mesh.getDimensions().x() && j < Mesh.getDimensions().y())
 	{
 		tnlGridEntity< tnlGrid< 2,double, tnlHost, int >, 2, tnlGridEntityNoStencilStorage > Entity(Mesh);
 		Entity.setCoordinates(CoordinatesType(i,j));
diff --git a/examples/narrow-band/tnlNarrowBand_CUDA.h b/examples/narrow-band/tnlNarrowBand_CUDA.h
index 70b01f04b2667767965f16ccf98ac730baff9160..a0fa59a1ee7343ec951e2b3946ad89c4c7bc57b2 100644
--- a/examples/narrow-band/tnlNarrowBand_CUDA.h
+++ b/examples/narrow-band/tnlNarrowBand_CUDA.h
@@ -197,7 +197,7 @@ __global__ void runNarrowBandCUDA(tnlNarrowBand< tnlGrid< 2,double, tnlHost, int
 
 
 
-#include "tnlNarrowBand2D_CUDA_v5_impl.h"
+#include "tnlNarrowBand2D_CUDA_v4_impl.h"
 //											#include "tnlNarrowBand3D_CUDA_impl.h"
 
 #endif /* TNLNARROWBAND_H_ */