fix ui creation