repair BigDecimal scale