use url instead of path
cleanup