fix ref to discovery in item viewer