fix second subpath error