replace url_to by path_to (better name)