fix component hierarchy in plain text descriptions