fix URIs to root path