handle invalid decimal numbers