fixed overloaded index operator to return sequence object instead of string