fix getFoodsWeight API