removed initialization of ui components from constructor