fix string of Resource + improve docs