Fix root paths