remove reference to local dir.