fixing typography in references and popups