Revert "use dynamic ui composition"

This reverts commit 5a6afd3a2402f0a19e9ff8f655d88bac9fe485a1.