# InterleavedBufferAttribute typo

**URL:** <https://discourse.threejs.org/t/interleavedbufferattribute-typo/37943>\
**Category:** Site Feedback\
**Created:** [May 8, 2022, 3:11pm UTC](https://discourse.threejs.org/t/interleavedbufferattribute-typo/37943 "2022-05-08T15:11:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dannie226](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/dannie226/32/21794_2.png) [@Dannie226](https://discourse.threejs.org/u/Dannie226)\
**Post date:** [May 8, 2022, 3:11pm UTC](https://discourse.threejs.org/t/interleavedbufferattribute-typo/37943/1 "2022-05-08T15:11:53Z")

</div>

In all three files (three.js, three.module.js, and the InterleavedBufferAttribute source file), there is a typo when wishing to clone the InterleavedBufferAttribute without putting in a data source. In all three places, there is this line

```javascript
console.log( 'THREE.InterleavedBufferAttribute.clone(): Cloning an interlaved buffer attribute will deinterleave buffer data.' );

```

It says “Cloning an interlaved buffer attribute” instead of “Cloning an interleaved buffer attribute” in all three files. This is by no means a massive issue. I just happened to notice it when looking through the three.js source and thought that it should be brought up to a person that can change it.

Edit:  
The same typo also appears in the toJSON method

---

<div class="post-metadata">

**Author:** ![dubois](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dubois](https://discourse.threejs.org/u/dubois)\
**Post date:** [May 9, 2022, 9:56am UTC](https://discourse.threejs.org/t/interleavedbufferattribute-typo/37943/2 "2022-05-09T09:56:22Z")

</div>

Much bigger issue is that this seems like it belongs in some documentation, not a runtime message ☹

---

<div class="post-metadata">

**Author:** ![looeee](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/looeee/32/59_2.png) [@looeee](https://discourse.threejs.org/u/looeee)\
**Post date:** [May 9, 2022, 10:39am UTC](https://discourse.threejs.org/t/interleavedbufferattribute-typo/37943/3 "2022-05-09T10:39:24Z")

</div>

You can open a pull request on Github to fix this typo. For a really simple fix like this I don’t think you need to do the usual stuff of forking the repo and so on.

You can just open file in GitHub and hit the ✏ icon then change the misspelled word. Make sure you don’t change any other formatting in the file. Write a meaningful commit message at the bottom and the select the option to _Create a **new branch** for this commit and start a pull request_.

The offending line is here:

> <https://github.com/mrdoob/three.js/blob/6907acb08b0798a09fbaa952996d75d3a5db1183/src/core/InterleavedBufferAttribute.js#L182>
