Fixed Bug in calculating food amounts