fixed index parsing in StructureProcessor