Fix UserInterface warning & fatal