add unknown resource handling