remove the local path