debugging issues entity-type