Fix for getDefaultWeightUnit() method