handling of unknown entity and instance