fixed share ratio bug for 0/0, infinity formatting, and item table units header