DB uri -> path fix