fixing issue with upstream shares not being found