factorization of c_ui::__f_init_child() function
factorization of c_ui::__f_fill_midel_container
added err msg if label allocation fail