diff --git a/core/typechecker/src/main/java/org/overture/typechecker/visitor/TypeCheckerStmVisitor.java b/core/typechecker/src/main/java/org/overture/typechecker/visitor/TypeCheckerStmVisitor.java
index <HASH>..<HASH> 100644
--- a/core/typechecker/src/main/java/org/overture/typechecker/visitor/TypeCheckerStmVisitor.java
+++ b/core/typechecker/src/main/java/org/overture/typechecker/visitor/TypeCheckerStmVisitor.java
@@ -624,7 +624,7 @@ public class TypeCheckerStmVisitor extends AbstractTypeCheckVisitor
 		
 		if (encl != null && encl.getAccess().getPure())
 		{
-			TypeCheckerErrors.report(3346, "Cannot use cycles in pure operations", node.getCycles().getLocation(), node);
+			TypeCheckerErrors.report(3346, "Cannot use cycles in pure operations", node.getLocation(), node);
 		}
 
 		Environment newEnv = new FlatEnvironment(question.assistantFactory, question.env, true);
Small correction to cycles error message in pure operations