modify addResourcePath