Fixed object

* now it works :)
* fixed size of indices in indexbuffer