Fixed the issues of Paths of Resource files.