 #endif
 
 		SolveForAccKernel(ANCF_NodesAccD, ANCF_SlopesAccD,
-				flex_FSI_NodesForcesD1, flex_FSI_NodesForcesD2,
+				flex_NodesForcesD1, flex_NodesForcesD2,
 				ANCF_ReferenceArrayNodesOnBeamsD, ANCF_Beam_LengthD, ANCF_IsCantileverD, flexParamsD, i);
 
 #if !flexGPU

	for (int i = 0; i < numFlexBodiesD; i++) {
#endif
		CalcElasticForcesKernel(
				flex_FSI_NodesForcesD1, flex_FSI_NodesForcesD2,
				ANCF_NodesD, ANCF_SlopesD, ANCF_NodesVelD, ANCF_SlopesVelD,
				ANCF_ReferenceArrayNodesOnBeamsD, ANCF_Beam_LengthD, flexParamsD, GQD, i);
#if !flexGPU

		real3 * ANCF_NodesAccD,
		real3 * ANCF_SlopesAccD,

		const real3 * flex_NodesForcesD1,
		const real3 * flex_NodesForcesD2,

		const int2 * ANCF_ReferenceArrayNodesOnBeamsD,
		const real_ * ANCF_Beam_LengthD,
