diff --git a/src/main/java/br/com/fixturefactory/ObjectFactory.java b/src/main/java/br/com/fixturefactory/ObjectFactory.java
index <HASH>..<HASH> 100755
--- a/src/main/java/br/com/fixturefactory/ObjectFactory.java
+++ b/src/main/java/br/com/fixturefactory/ObjectFactory.java
@@ -65,7 +65,7 @@ public class ObjectFactory {
 		for (Property property : rule.getProperties()) {

 			Class<?> fieldType = ReflectionUtils.invokeRecursiveType(result, property.getName());

 			

-			Object value = property.hasRelationFunction() || fieldType.getEnclosingClass() != null ?

+			Object value = property.hasRelationFunction() || ReflectionUtils.isInnerClass(fieldType) ?

 					property.getValue(result) : property.getValue();
fixing inner class verify on instatiate properties on ObjectFactory