Fixed issues loading resources multiple dirs