[fixed] _scope added twice! + test if index doesn't exceed capacity