fix StructureParser regression (fixes #414)