preserve global cfg across views