add type var to UI element for display fix