fix UI management, fix settings