remove main from components