Restore rootPath as staticPath