fixed _fetchPathForModel in ResourceHandler