fix obvious mistake in ref