fixing UI elements