fixed ResourceFactory configuration