Removes ref to local version