change Path::init to Path::new