fixing rendering of numeric values