fixed custom decimal point and float bug