fix url for local files