order create components before set visibility