fixed BMR calculator defect