Fixing parent definition