fix number parsing