make error message more useful when descriptor is not found