returned wrong type in domaintype of coverages