correct printing of negative values