removes martini paths, except root path