Fix ref to unimported name