fixing number parsing issues
adding pretty print for types.