Fix runtime error
Merge pull request #3770 from ussuri/consolidate-ui-in-topUi

Fix runtime error