Fixed the path of resources.