fixed denominator = 0 issue in selection and combo