Replace quotes in Ref.name