bugfix Wrong massive index