Fix readVarInt