bigdecimal fix and spec