modify umd && support old path_name