Fixed bug with shared paths