add work around to bind index buffer