fix for indices not set properly with StringDict(Reader)