clean resource
修正RootDirectory