update ref and typo