fix for root paths