changed vbo_size-1 to vbo_size