Bug fix for various targetUirPatterns