Fix invalid string ref.