fix component ratio setting