fix bmi calculation