remove full paths from env links