Revert "bug fix on subpath concats"

This reverts commit d257c882e7447fefce18387cb00fd3ef87303fa1.
bug fix on subpath concats