Fix reading varints