deal correctly with bigints in parse