fix bug of toNumber()
bump version to 0.1.8