change resouce id to resource string