remove main from package