Fixing ref.