[#445] don't display negative value for get_remaining