Upgrade KPTD Parser

Fix text groups