Problem  with EntityKind solved